<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
  <head>
  </head>  
  <body>
	<form class="auform" id="uploadForm" action="${ctx}/sys/passenger/importFile.sys" method="post" enctype="multipart/form-data">
		<table class="autable">
			<tr>
				<td class="autd1">导入类型：</td>
				<td class="autd2"><select class="easyui-combobox" name="fileType" id="fileType" panelHeight="auto" style="width:150px" editable="false" required="true">
						<option value="${constant.TXT}">TXT</option>
						<option value="${constant.EXCEL}">EXCEL</option>
					</select><span class="red">*</span>
				</td>
			</tr>
			<tr>
				<td class="autd1">选择路径：</td>
				<td class="autd2"><input name="file" id="file" type="file" style="width:150px" class="txt" required="true"><span class="red">*</span></td>
			</tr>
			<tr>
				<td class="autd3" colspan="2">
					<a href="#" id="btn-add" onclick="upload();" class="easyui-linkbutton">导入</a>
				</td>
			</tr>
		</table>
	</form>
	<div id="loadDiv" style="display: none;">
		<img src="${ctx}/js/jquery/easyui/themes/default/images/panel_loading.gif"/><span style="font-size: 13px;">正在导入...</span>
	</div>
  </body>
</html>
